package io.admin.modules.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 用户表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-04
 */
@Data
@ApiModel(value = "用户表")
public class UserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "用户名呢称")
	private String username;

	@ApiModelProperty(value = "手机号账号")
	private String mobile;

	@ApiModelProperty(value = "密码")
	private String password;

	@ApiModelProperty(value = "用户角色（1施工人员,2施工负责人，管理人员）")
	private Integer userrole;


	private String userProjectId;

	private String userProjectName;
	private String userProjectSubId;

	@ApiModelProperty(value = "用户状态（1启用。2禁用）")
	private Integer userstate;

	@ApiModelProperty(value = "注册时间")
	private Date createDate;
	@ApiModelProperty(value = "用户头像")
	private String url;
	private String newPassword;

	private List<ProjectDTO> listIds;

}